/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package presentationTier.actions;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import presentationTier.dialogs.SearchMovieDialog;

/**
 *
 * @author vojta
 */
public class SearchMovieCancelAction implements ActionListener {

    SearchMovieDialog dialog;

    public SearchMovieCancelAction(SearchMovieDialog aThis) {
          dialog = aThis;
    }

    public void actionPerformed(ActionEvent e) {
        dialog.dispose();
    }

}
